package com.example.egnotice1.mapper;

import com.example.egnotice1.pojo.dto.NoticeQueryParamv1;
import com.example.egnotice1.pojo.entity.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NoticeMapper {
    int insert(Notice notice);
    List<NoticeQueryParamv1> NoticeAddQuery(@Param("content") String content,@Param("type") Integer type);
  // List<NoticeQueryParamv1> query(NoticeQueryParam noticeQueryParam);

}
